package com.qinggeng.project.system.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qinggeng.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import com.qinggeng.framework.web.domain.BaseEntity;

/**
 * 加盟信息对象 sys_league
 *
 * @author qinggeng
 * @date 2020-05-28
 */
@Data
public class SysLeague extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 加盟ID */
    @ApiModelProperty(hidden = true)
    private Long leagueId;

    /** 姓名 */
    @ApiModelProperty(value = "姓名",required = true)
    @Excel(name = "姓名")
    private String leagueName;

    /** 手机号 */
    @ApiModelProperty(value = "手机号",required = true)
    @Excel(name = "手机号")
    private String leaguePhone;

    /** 邮箱 */
    @ApiModelProperty(value = "邮箱",required = true)
    @Excel(name = "邮箱")
    private String leagueEmail;

    /** 所在区域 */
    @ApiModelProperty(value = "所在区域 以'-'分开",required = true)
    @Excel(name = "所在区域")
    private String leagueArea;

    /** 状态 10=未处理 20=已联系 */
    @ApiModelProperty(hidden = true)
    @Excel(name = "状态 10=未处理 20=已联系")
    private String status;

    /** 是否删除 10=未删除 20=已删除 */
    @ApiModelProperty(hidden = true)
    @Excel(name = "是否删除 10=未删除 20=已删除")
    private String delFalg;

    /** 用户ID */
    @Excel(name = "用户ID")
    @ApiModelProperty(hidden = true)
    private Long userId;


    /** 加盟类型（10=区域加盟 20=门店加盟 30=供货商加盟） */
    @ApiModelProperty(hidden = true)
    @Excel(name = "加盟类型（10=区域加盟 20=门店加盟 30=供货商加盟）")
    private String leagueType;

    /** 供货类型 */
    @Excel(name = "供货类型")
    @ApiModelProperty(hidden = true)
    private String goodsType;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("leagueId", getLeagueId())
            .append("leagueName", getLeagueName())
            .append("leaguePhone", getLeaguePhone())
            .append("leagueEmail", getLeagueEmail())
            .append("leagueArea", getLeagueArea())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delFalg", getDelFalg())
            .append("userId", getUserId())
            .toString();
    }
}
